<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>自定义属性data-*</title>
    <style>
        div[data-v-my_custom_property]{
            width: 400px;
            height: 400px;
            background-color: lightgreen;
        }
        div[data-name="monster1935"]{
            width: 400px;
            height: 400px;
            background-color: red;
        }
    </style>
</head>
<body>
<div id="app" data-v-my_custom_property>
    this is div of app
</div>
<div id="user" data-name="monster1935" data-age="123">
    this is div of user
</div>
</body>
</html>
